package com.dhcc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dhcc.entity.SysInstitution;
import com.dhcc.entity.SysInstitutionRole;

import java.util.List;

public interface SysInstitutionService extends IService<SysInstitution> {
    SysInstitution selectInstitutionById(String institutionId);

    List<SysInstitution> selectChildInstitutionList(String institutionId);

    Integer addInstitution(SysInstitution sysInstitution);

    Integer updateInstitution(SysInstitution sysInstitution);

    List<SysInstitutionRole> getAllInstitutionRole();

    Integer deleteInstitution(String institutionId);
}
